﻿using CTP.CRM.Core.Entities;
using SqlSugar;

namespace CTP.CRM.Core.SqlSugar.Entitys
{
    public abstract class IFullAuditedBasicEntitys : ICreateBaicEntity, ICreateWithTime, IUpdateBasicEntity, IUpdateWithTime, ISoftDeleteBasicEntity, ISoftDeletable
    {
        //
        // 摘要:
        //     删除标记 0正常 1 已删除
        [SugarColumn(ColumnName = "IsDeleted")]
        public virtual bool IsDeleted { get; set; }

        //
        // 摘要:
        //     创建人id
        [SugarColumn(ColumnName = "CreateUserId")]
        public virtual int CreateUserId { get; set; }

        //
        // 摘要:
        //     创建时间
        [SugarColumn(ColumnName = "CreateTime")]
        public virtual DateTime CreateTime { get; set; }

        //
        // 摘要:
        //     修改人id
        [SugarColumn(ColumnName = "UpdateUserId")]
        public virtual int? UpdateUserId { get; set; }

        //
        // 摘要:
        //     修改时间
        [SugarColumn(ColumnName = "UpdateTime")]
        public virtual DateTime? UpdateTime { get; set; }
    }
}
